<?php
class Kalendar extends CS_Controller
{
    public function _init()
    {
        $this->load->helper(array('common', 'email'));
        $this->load->model('admin_user_model', 'admin_user');
        $this->load->model('user_model', 'user');
        $this->load->model('statistical_model','statistical');
    }
    
    public function index(){
        $prefs = array (
               'start_day'    => 'saturday',
               'month_type'   => 'long',
               'day_type'     => 'short'
             );

        $this->load->library('calendar', $prefs);
        
        echo $this->calendar->generate();
    }
}